﻿using OT.HikiSecureCenterApis.Req;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OT.HikiSecureCenterApis.Service.Event.Req
{
    public class ReqEventsSearch : ReqPageDate
    {
        /// <summary>
        /// 是否必填:否
        /// 事件规则id
        /// </summary>
        public string eventRuleId { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 事件分类，详见附录A.62
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#f1c62a5b
        /// </summary>
        public string ability { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 区域编号
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 所属位置，详见附录A.81 安装位置
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95
        /// </summary>
        public List<string> locationIndexCodes { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 事件源名称
        /// </summary>
        public string resName { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 事件源编号
        /// </summary>
        public List<string> resIndexCodes { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 事件源类型，详见附录A.63
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#f3db5bf5
        /// </summary>
        public List<string> resTypes { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 事件类型，详见附录D
        /// https://open.hikvision.com/docs/2a1f18f349cb4f65ab7857b7ad1c2b24?curNodeId=2a1f18f349cb4f65ab7857b7ad1c2b24
        /// </summary>
        public string eventType { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 事件等级，1-低，2-中，3-高
        /// </summary>
        public List<string> eventLevels { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 处理意见
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 是否必填:否
        /// 处理状态，0-未处理，1-已处理
        /// </summary>
        public int handleStatus { get; set; }
    }
}
